import scrapy

from commonresources.spider_items.base_item import BaseItem


class HeBeiShengZhaoBiaoTouBiaoFuWuPingTaiItem(BaseItem):
    """河北省招标投标服务平台 Item"""
    project_area = scrapy.Field()
    source_platform = scrapy.Field()
    announcement_type = scrapy.Field()
    info_type = scrapy.Field()


class HeBeiShengGongGongZiYuanJiaoYiPingTaiItem(BaseItem):
    """河北省公共资源交易平台 Item"""
    """
    origin_url = scrapy.Field()  # 原始地址
    html = scrapy.Field()  # 公告html源码
    create_time = scrapy.Field()  # 创建时间
    update_time = scrapy.Field()  # 跟新时间
    announcement_title = scrapy.Field()  # 公告标题
    announcement_type = scrapy.Field()  # 公告类型
    release_time = scrapy.Field()  # 公告发布时间
    is_parsed = scrapy.Field()  # 是否已经提取过信息
    source_type = scrapy.Field()  # 属于哪个网站的信息
    province = scrapy.Field()  # 所属省份
    city = scrapy.Field()  # 网站所属城市
    project_city = scrapy.Field()  # 工程所属城市
    project_area = scrapy.Field()  # 工程所属地区
    project_type = scrapy.Field()  # 工程类型 ，比如：勘测设计，园林设计，工程监理，房屋建筑施工等"""
    # project_area = scrapy.Field()
    # source_platform = scrapy.Field()
    # announcement_type = scrapy.Field()
    # info_type = scrapy.Field()
